package com.xxh.upload.controller;


import com.xxh.common.utils.Result;
import com.xxh.common.utils.WebUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/upload")
public class testController {


    @GetMapping("/test")
    public Result getTest(){
        Long userId = WebUtils.getUserId();
        return Result.success();
    }
}
